<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>恭喜，站点创建成功！</title>
    <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
    <script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
    <style>
        .swiper-container {
            width: 600px;
            height: 300px;
        }
    </style>
</head>
<body>
<!-- Slider main container -->
<div class="swiper-container">
    <!-- Additional required wrapper -->
    <div class="swiper-wrapper">
        <!-- Slides -->
        <div class="swiper-slide">Slide 1</div>
        <div class="swiper-slide">Slide 2</div>
        <div class="swiper-slide">Slide 3</div>

    </div>

    <div class="swiper-pagination"></div>




</div>


</body>
<script>

    var mySwiper = new Swiper('.swiper-container', {
        // Optional parameters
        direction: 'horizontal',
        loop: true,

        // If we need pagination
        pagination: {
            el: '.swiper-pagination',
        },



        // And if we need scrollbar
     /*   scrollbar: {
            el: '.swiper-scrollbar',
        },*/
    })
</script>
</html>











<?php if ($type == 'related' || $type == 'upsell'): ?>
<div class="index_product block <?php /* @escapeNotVerified */ echo $class; ?>" data-mage-init='{"upsellProducts":{}}' data-limit="<?php /* @escapeNotVerified */ echo $limit; ?>" data-shuffle="<?php /* @escapeNotVerified */ echo $shuffle; ?>">
    <?php else: ?>
    <div class="index_product block <?php /* @escapeNotVerified */ echo $class; ?>">
        <?php endif; ?>
        <div class="block-title title">
            <span class="dot"> ●</span>
            <strong id="block-<?php /* @escapeNotVerified */ echo $class?>-heading" role="heading" aria-level="2"><?php /* @escapeNotVerified */ echo $title; ?></strong>
            <span class="dot"> ●</span>
        </div>
        <div class="block-content content" aria-labelledby="block-<?php /* @escapeNotVerified */ echo $class?>-heading">
            <a class="prev"><i class="fa fa-angle-left"></i></a>
            <a class="next"><i class="fa fa-angle-right"></i></a>
            <div class="index_content scroll_parents products wrapper grid products-<?php /* @escapeNotVerified */ echo $type; ?>" id="related-product">
                <ol class="products list items product-items">
                    <?php $iterator = 1; ?>
                    <?php foreach ($items as $_item): ?>
                    <?php $available = ''; ?>
                    <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?>
                    <?php if (!$_item->getRequiredOptions()): ?>
                    <?php $available = 'related-available'; ?>
                    <?php endif; ?>
                    <?php endif; ?>
                    <?php /* @escapeNotVerified */ echo($iterator++ == 1) ? '<li class="item product product-item" style="display: none;">' : '</li><li class="item product product-item" >' ?>

                    <div class="product-item-info <?php /* @escapeNotVerified */ echo $available; ?>" style="width: 100%;">
                        <?php /* @escapeNotVerified */ echo '<!-- ' . $image . '-->' ?>
                        <a href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>" class="product photo product-item-photo">
                            <?php echo $block->getImage($_item, $image)->toHtml(); ?>
                        </a>
                        <div class="product details product-item-details">
                            <strong class="product name product-item-name"><a class="product-item-link" title="<?php echo $block->escapeHtml($_item->getName()) ?>" href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>">
                                <?php echo $block->escapeHtml($_item->getName()) ?></a>
                            </strong>

                            <?php /* @escapeNotVerified */ echo $block->getProductPrice($_item); ?>

                            <?php if ($templateType): ?>
                            <?php echo $block->getReviewsSummaryHtml($_item, $templateType) ?>
                            <?php endif; ?>
                            <?php
                                $discount = $this->helper('Mazentop\DiscountPrice\Helper\Data')->DisplayDiscountLabel($_item);
                            if ($discount):
                            ?>
                            <div class="discount">
                                <?php echo $discount; ?>
                            </div>
                            <?php endif; ?>
                            <?php if ($showAddTo || $showCart): ?>
                            <div class="product actions product-item-actions">
                                <?php if ($showCart): ?>
                                <div class="actions-primary">
                                    <?php if ($_item->isSaleable()): ?>
                                    <?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
                                    <button class="action tocart primary" data-mage-init='{"redirectUrl": {"url": "<?php /* @escapeNotVerified */ echo $block->getAddToCartUrl($_item) ?>"}}' type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>">
                                        <i class="fa fa-shopping-cart"></i>
                                        <span class="prompt"><?php /* @escapeNotVerified */ ?></span>
                                    </button>
                                    <?php else: ?>
                                    <?php $postDataHelper = $this->helper('Magento\Framework\Data\Helper\PostHelper');
                                    $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_item), ['product' => $_item->getEntityId()])
                                    ?>
                                    <button class="action tocart primary"
                                            data-post='<?php /* @escapeNotVerified */ echo $postData; ?>'
                                            type="button" title="<?php /* @escapeNotVerified */ ?>">
                                        <i class="fa fa-shopping-cart"></i>
                                        <span class="prompt"><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
                                    </button>
                                    <?php endif; ?>
                                    <?php else: ?>
                                    <?php if ($_item->getIsSalable()): ?>
                                    <div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div>
                                    <?php else: ?>
                                    <div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div>
                                    <?php endif; ?>
                                    <?php endif; ?>
                                </div>
                                <?php endif; ?>

                                <?php if ($showAddTo): ?>
                                <div class="secondary-addto-links actions-secondary" data-role="add-to-links">
                                    <?php if ($addToBlock = $block->getChildBlock('addto')): ?>
                                    <?php echo $addToBlock->setProduct($_item)->getChildHtml(); ?>
                                    <?php endif; ?>
                                </div>
                                <?php endif; ?>
                            </div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <?php echo($iterator == count($items)+1) ? '</li>' : '' ?>
                    <?php endforeach ?>
                </ol>
            </div>
        </div>
    </div>